<?php

/**
 * Created by PhpStorm.
 * User: andy
 * Date: 16/4/9
 * Time: 12:22
 */
class Model_Apply extends PhalApi_Model_NotORM {

    function insertUser($name, $tel, $email, $corp, $time, $ip) {
        return $this->getORM()
            ->insert([
                "name"  => $name,
                "tel"   => $tel,
                "email" => $email,
                "corp"  => $corp,
                "ctime" => $time,
                "ip"    => $ip,
            ]);

    }


    protected function getTableName($id) {
        return 'alimama_apply';
    }


}